package com.xiangban.dao;

import com.xiangban.model.Relation;
import com.xiangban.model.dto.RelationDto;
import com.xiangban.model.res.Ids;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/12/6 15:18
 */
@Repository
public interface RelationMapper {

    Relation getRelationByIdCardAndSource(Relation relation);
    List<Relation> getRelationIdCard();
    void updateUserFeeNumber(Relation relation);
    List<RelationDto> listRelation(Relation relation);
    RelationDto getRelation(Relation relation);
    void updateRelation(Relation relation);
    void deleteRelation(Ids ids);
    void insertRelation(Relation relation);
}
